package org.example.designPattern.structural.facade;

public class Car {
    private Engine engine;
    private Door door;

    public Car() {
        this.engine = new Engine();
        this.door = new Door();
    }

    public void start(){
        engine.start();
        door.start();
    }
}
